package cn.sofwin.sb.entity;

import cn.sofwin.sb.core.mvc.entity.IdEntity;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 用户实体
 */
@Data
@Accessors(chain = true)//链式调用写法
public class User extends IdEntity {
    private String username;
    private String password;
    private String nickname;

    public User(Integer id) {
        this.id=id;
    }

    public User() {
    }
}
